package com.xsdl.combination;

import java.util.ArrayList;
import java.util.List;

public class Main {

    private static final List<PopulationNode> populationNodeList = new ArrayList<>();

    public static void main(String[] args) {

        Province province = new Province("河南");

        City zz = new City("郑州");
        District zyq = new District("中原区", 2000);
        District eqq = new District("二七区", 5000);
        zz.addDistrict(zyq);
        zz.addDistrict(eqq);

        City zk = new City("周口");
        District gxq = new District("高新区", 1000);
        District chq = new District("川汇区", 2000);
        province.addCity(zz);

        province.addCity(zk);
        zk.addDistrict(gxq);
        zk.addDistrict(chq);
        populationNodeList.add(province);
        System.out.println(populationNodeList);

    }

}
